package com.depth.viewer.container
{
	import com.depth.viewer.container.definition.IWidgetContainerDefinition;
	import com.depth.viewer.widget.IBaseWidget;

	public interface IWidgetContainer
	{
	    function addWidget(widget:IBaseWidget,index:int = -1):IBaseWidget;
		function removeWidget(id:String):IBaseWidget;
		function getWidget(id:String):IBaseWidget;
		function containWidget(widget:IBaseWidget):Boolean;
		function setWidgetLayout(value:Object):void;
	    function focusWidget(id:String):void;
		function getWidgets():Array;
	    function set configParams(value:IWidgetContainerDefinition):void;
		function get configParams():IWidgetContainerDefinition;
	}

}
